package com.ming.dao;

import com.github.pagehelper.Page;
import com.ming.pojo.CheckGroup;

import java.util.List;
import java.util.Map;

/**
 * @author NamingCao
 * @date 2021/07/02
 */
public interface CheckGroupDao {

    void add(CheckGroup checkGroup);

    void setCheckGroupAndCheckItem(Map<String, Integer> map);

    Page<CheckGroup> findByCondition(String queryString);

    CheckGroup findById(Integer id);

    void edit(CheckGroup checkGroup);

    void deleteAssociation(Integer checkgroupId);

    List<CheckGroup> findAll();

}
